package com.by.lsd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxk
 * @since 2023-03-22
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 登录id
     */
    private Integer loginId;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 用户密码
     */
    private String userPasswerd;

    /**
     * 部门id
     */
    private Integer deptId;

    /**
     * 用户性别
     */
    private Integer userSex;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPasswerd() {
        return userPasswerd;
    }

    public void setUserPasswerd(String userPasswerd) {
        this.userPasswerd = userPasswerd;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    @Override
    public String toString() {
        return "User{" +
        "userId = " + userId +
        ", loginId = " + loginId +
        ", userName = " + userName +
        ", userPasswerd = " + userPasswerd +
        ", deptId = " + deptId +
        ", userSex = " + userSex +
        "}";
    }
}
